/**
 * @filename:SysUser 2025-05-09
 * @project starhub-schema  V1.0
 */
package com.starhub.engine.sys.user.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

import lombok.Data;
import java.util.Date;

/**   
 * @Description:(用户设置实体类)
 * @version: V1.0
 * @author: luosw
 */
@Data
@ApiModel
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class SysUser implements Serializable {

	private static final long serialVersionUID = 1746775950948L;
	
    @JsonSerialize(using = ToStringSerializer.class)
	@ApiModelProperty(name = "id" , value = "ID")
	private Long id;
    
	@ApiModelProperty(name = "deleteType" , value = "逻辑删除标识（0-未删除，1-已删除）")
	private Integer deleteType;
    
	@ApiModelProperty(name = "createTime" , value = "创建时间")
	private Date createTime;
    
	@ApiModelProperty(name = "updateTime" , value = "修改时间")
	private Date updateTime;
    
	@ApiModelProperty(name = "username" , value = "用户名")
	private String username;
    
	@ApiModelProperty(name = "password" , value = "密码")
	private String password;
    
	@ApiModelProperty(name = "name" , value = "名称")
	private String name;
    
	@ApiModelProperty(name = "rights" , value = "权限")
	private String rights;
    
	@ApiModelProperty(name = "roleId" , value = "角色")
	private String roleId;
    
	@ApiModelProperty(name = "lastLogin" , value = "上次登录日期")
	private String lastLogin;
    
	@ApiModelProperty(name = "ip" , value = "ip地址")
	private String ip;
    
	@ApiModelProperty(name = "status" , value = "状态")
	private String status;
    
	@ApiModelProperty(name = "bz" , value = "备注")
	private String bz;
    
	@ApiModelProperty(name = "skin" , value = "")
	private String skin;
    
	@ApiModelProperty(name = "email" , value = "邮箱")
	private String email;
    
	@ApiModelProperty(name = "number" , value = "序号")
	private String number;
    
	@ApiModelProperty(name = "phone" , value = "电话")
	private String phone;
    
	@ApiModelProperty(name = "roleIds" , value = "角色")
	private String roleIds;
    
	@ApiModelProperty(name = "avatar" , value = "头像")
	private String avatar;

	@ApiModelProperty(name = "gender" , value = "性别")
	private String gender;


}
